<?php
class generalComponents extends sfComponents{
    public function executeQuick_stats(){
      //Partie joueur
      $this->pl = array();
      $this->pl["tot"]      = sfGuardUser::getNumberOfPlayers();
      $this->pl["last"]     = sfGuardUser::getLastPlayer();
      //Partie personnages
      $this->char = array();
      $this->char["tot"]    = KTDCharacter::getNumberOfCharacters();
      $this->char["last"]   = KTDCharacter::getLastCharacter();
    }
}
?>